package com.excellence.service;

import com.excellence.pojo.Comment;

import java.util.List;

/**
 * @author 沈秉璋
 * @ClassName CommentService
 * @Description TODO
 * @date 2024/4/8 10:41
 * @Version 1.0
 */

public interface CommentService {
    int deleteByKey(Long id);
    int deleteByPrimaryKey(Long id);

    int insert(Comment record);

    int insertSelective(Comment record);

    Comment selectByPrimaryKey(Long id);

    List<Comment> selectAll();

    int updateByPrimaryKeySelective(Comment record);

    int updateByPrimaryKey(Comment record);
}
